[Setup]
AppName=Numeri+ Backup Services
AppVerName=Numeri+ Backup Services v1.0(SERVER-EDITION)
AppPublisher=Numeri+
AppPublisherURL=http://numeriplus.com/
AppSupportURL=http://numeriplus.com/
AppUpdatesURL=http://numeriplus.com/
DefaultDirName=C:\NBS
DisableDirPage=yes
DefaultGroupName=Numeriplus
AllowNoIcons=no
OutputDir=C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\
OutputBaseFilename=NBS_v1.0(SERVER-EDITION)
Compression=lzma
SolidCompression=yes


[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"


[Files]
; images et langues
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\img\*.*; DestDir: C:\NBS\img; Flags: ignoreversion  recursesubdirs
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\locale\*.*; DestDir: C:\NBS\locale; Flags: ignoreversion  recursesubdirs

; executables
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\bin\*.exe; DestDir: C:\NBS\bin; Flags: ignoreversion
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.exe; DestDir: C:\NBS; Flags: ignoreversion

; librairies
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\bin\*.dll; DestDir: C:\NBS\bin; Flags: ignoreversion
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.dll; DestDir: C:\NBS; Flags: ignoreversion

; manifest
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.manifest; DestDir: C:\NBS; Flags: ignoreversion

; Template
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\conf\*.template; DestDir: C:\NBS\conf; Flags: ignoreversion

; fichiers de conf
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\conf\*.xml; DestDir: C:\NBS\conf; Flags: ignoreversion

; Batch install uninstall
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.bat; DestDir: C:\NBS; Flags: ignoreversion

; documentation
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.pdf; DestDir: C:\NBS; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: C:\Documents and Settings\Numerie-Plus\Bureau\Nibbler_Server_EDITION\to_make_intaller\*.zip; DestDir: C:\NBS; Flags: ignoreversion
;library.zip

[Icons]
Name: "{group}\{cm:UninstallProgram,Numeri+ Backup Services}"; Filename: "{uninstallexe}"
Name: "{group}\Manuel Utilisateur"; Filename: "C:\NBS\Manuel_Utilisateur.pdf"
Name: "{group}\NBS_IHM"; Filename: "C:\NBS\NBS_ihm.exe"
Name: "{group}\Lancement du daemon"; Filename: "C:\NBS\Install_service.bat"
Name: "{userdesktop}\NBS"; Filename: "C:\NBS\NBS_ihm.exe"; WorkingDir: "C:\NBS"

[Dirs]
Name: C:\NBS; Permissions: everyone-full

[UninstallRun]
Filename: "C:\NBS\Daemon_nbs.exe"; Parameters: "-remove"
Filename: "C:\NBS\taskkill.exe"; Parameters: "/T /F /IM Daemon_nbs.exe"
Filename: "C:\NBS\taskkill.exe"; Parameters: "/T /F /IM NBS_ihm.exe"

[Tasks]
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked

[Icons]
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\NBS"; Filename: "C:\NBS\NBS_ihm.exe"; Tasks: quicklaunchicon

[Run]
Filename: "C:\NBS\NBS_ihm.exe"; Description: "{cm:LaunchProgram,Num+ Backup Services}"; Flags: nowait postinstall skipifsilent
Filename: "C:\NBS\Daemon_nbs.exe"; Parameters: "-install"
